#include<iostream>
#include<thread>
using namespace std;

void func() {
	int i = 0;
	cout << "void func" << endl;
	int a = 1 / i;
	while (true) {
		cout << "void func xunhuan " << endl;
	}
}

int main() {
	std::thread th(func);
	while (true) {

	}
}